{% extends "dblog/baseTemplate.html" %}
{% block title %}
Comment on {{ object.title }}
{% endblock %}
{% block content %}

    <form action="/simpleblog/blog/{{ object.id }}/postComment/" 
          method="post">
        <textarea rows="10" cols="30" name="content"></textarea>
        <p/>
        How do you rate this entry: 
        <select name="rating">
          {% for r in object.RATING_CHOICES %}
            <!-- Use the template system to treat '.' as '[]' 
             r[0] is the rating number, r[1] is the rating text -->
            <option value="{{r.0}}">{{r.1}}</option>
          {% endfor %}
        </select>
        <p/>
        <input type="submit" value="Post" />
    </form>
{% endblock %}

{% comment %}
   In this template, we choose to not override the default footer.
{% endcomment %}